package com.lxk.dao;

import com.lxk.pojo.StarGoods;
import com.lxk.pojo.StarGoodsExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StarGoodsMapper {
    long countByExample(StarGoodsExample example);

    int deleteByExample(StarGoodsExample example);

    int deleteByPrimaryKey(Integer starGoodsId);

    int insert(StarGoods record);

    int insertSelective(StarGoods record);

    List<StarGoods> selectByExample(StarGoodsExample example);

    StarGoods selectByPrimaryKey(Integer starGoodsId);

    int updateByExampleSelective(@Param("record") StarGoods record, @Param("example") StarGoodsExample example);

    int updateByExample(@Param("record") StarGoods record, @Param("example") StarGoodsExample example);

    int updateByPrimaryKeySelective(StarGoods record);

    int updateByPrimaryKey(StarGoods record);
}